package com.tulingxueyuan.order.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author li
 * @Date 2025/4/26 18:42
 * @description: TODO
 */
@FeignClient(value = "alibaba-stock-seata", path = "/stock")
public interface StockService {
    @RequestMapping("/reduce")
    String reduce(@RequestParam(value = "productId") Long productId);
}
